package com.lark.io;

import java.io.InputStream;

public class ReadFileAsStream {
    // 根据配置文件的路径，将配置文件加载成字节输入流，存储在内存中
    public static InputStream getResourceAsStream(String path) {
        return ReadFileAsStream.class.getClassLoader().getResourceAsStream(path);
    }
}
